<template>
	<view>
		<view class="topVideo">
			<video src="http://ruiyu.oss-cn-hangzhou.aliyuncs.com/image/newSaas/zddmp4.mp4"></video>
		</view>

		<view class="publish">
			<button @click="onWayPacket">开始抽奖</button>
		</view>
	</view>

</template>

<script>
	import config from '@/env/config.js';
	export default {

		data() {
			return {

			}
		},
		onLoad(option) {

		},
		onShow() {

		},
		mounted() {


		},
		onReady() {
			if (this.config.appId == 10002) uni.setNavigationBarTitle({
				title: '抽红包得奖励'
			});
		},
		methods: {
			onWayPacket() {
				uni.showToast({
					title: '暂无开启',
					icon: 'none'
				})
			}


		}

	}
</script>

<style lang="scss" scoped>
	.topVideo {
		width: 750rpx;
		height: 497rpx;
		background: #CCCCCC;

		video {
			width: 100%;
			height: 100%;
		}
	}

	.publish {
		top: 60%;
		background-color: unset;

		button {
			width: 450rpx;
			height: 68rpx;
			line-height: 68rpx;
			background: #14854D;
			border-radius: 10rpx;
			font-family: PingFang SC;
			font-weight: bold;
			font-size: 30rpx;
			color: #FFFFFF;
			margin: 0 auto;
		}
	}
</style>